@model WebApplication.ViewModels.AccountViewModels.LoginViewModel;
@{
	ViewData["Title"] = "Log in";
}

<h1>@ViewData["Title"]</h1>

<form asp-controller="Account" asp-action="Login" method="post">
    <div asp-validation-summary="All"></div>
    <label asp-for="Email"></label>
    <input asp-for="Email" class="form-control" />
    <span asp-validation-for="Email" class="text-danger"></span>
<br /><br />
    <label asp-for="Password"></label>
    <input asp-for="Password" class="form-control" />
    <span asp-validation-for="Password" class="text-danger"></span>
<br /><br />
    <label asp-for="RememberMe">
        <input asp-for="RememberMe" />
		@Html.DisplayNameFor(m => m.RememberMe)
    </label>
	<br /><br />
    <button type="submit" class="btn btn-default">Log in</button>
</form>

<p>
   <a asp-action="Register">Create an account</a>
</p>